home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir24
/
jnos110g.zip
/
MAILCLI.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-17
|
1KB
|
44 lines
#ifndef _MAILCLI_H
#define _MAILCLI_H
/* Mail Command Line Interface -- Clients
* Copyright 1992 William Allen Simpson
*/
#ifndef _DAEMON_H
#include "daemon.h"
#endif
#ifndef _TIMER_H
#include "timer.h"
#endif
struct mailservers {
struct mailservers *next;
struct daemon *reader;
struct timer timer;
int lowtime, hightime; /* for connect window */
char *hostname;
char *username;
char *password;
char *mailbox;
};
#define NULLMAIL (struct mailservers *)NULL
extern struct daemon Mailreaders[];
extern struct mailservers *Mailservers;
extern unsigned short Mailtrace;
extern int Mailquiet;
int domsread __ARGS((int argc,char *argv[],void *p));
int mailresponse __ARGS((int s, char *buf, char *comment));
int mailbusy __ARGS((struct mailservers *np));
/* in pop2cli.c */
void pop2_job __ARGS((int unused,void *v1,void *p2));
/* in pop3cli.c */
void pop3_job __ARGS((int unused,void *v1,void *p2));
#endif /* _MAILCLI_H */